/**
 * 应用程序相关API
 * Created by yuzhou on 2017/7/10.
 */
import Vue from 'vue'
import { procApiCb, procApiError } from '@/utils/apiUtil'

export default {
  getAppInfo (cb, errorCb) {
    Vue.prototype.$http.get('app/info').then(res => procApiCb(res, cb, errorCb)).catch(err => procApiError(err, errorCb))
  }
}
